<include file="Common/header" />
<!--导航条结束-->
<!--内容列表开始-->
<div id="main" class="container">
<div class="row">
        <div class="col-md-8" >
            <div class="row">
                <div class="col-md-12">
                    <foreach name="articles" item="c">
                        <div class="row info-content">
                            <h4>
                                <a href="{:U('Index/view',array('aid'=>$c['aid']))}">{$c['title']}</a>
                                <br>
                            </h4>
                            <p class="content">{$c['description']}</p>
                            <div class="content-status">
                                <span><span class="glyphicon glyphicon-time"></span>&nbsp;{$c['add_time']|date=('Y-m-d H'),###}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <span ><span class="glyphicon glyphicon-eye-open"></span>&nbsp;{$c['click']}</span>
                            </div>
                        </div>
                    </foreach>

                    <div class="text-center">
                        <nav aria-label="Page navigation">
                            <ul class="pagination">
                                <li>{$page}</li>
                            </ul>
                        </nav>
                    </div>

                </div>
            </div>
        </div>

        <div class="col-md-3  col-md-push-1" id="category" >
            <span><h4>كاتىگورىيەلەر</h4></span><br>
            {:W('Home/get_all_categorys')}
            <br><br>
            <span><h4>خەتكۈچلەر</h4></span><br>
            {:W('Home/get_all_tags')}
        </div>
</div>


    <!--//脚部开始-->

</div>
<include file="Common/footer" />
<style type="text/css">
    a:hover{
        text-decoration:none;
    }
    .info-content{
        border-bottom:1px solid antiquewhite;
        height:150px;
        margin-top:10px;
        padding-top:0;

    }
    .info-content:hover{
        box-shadow:2px 2px 2px 1px #fcf8e3;
    }
    #footer{
        height:100px;
        margin-top:25px;
        padding-top:35px;
        font-size: 13px;
    }
    #category{
        margin-top:30px;
        padding-right: 0px;
    }
    .nav-tabs{
        border-bottom: 0px;
    }
    .pagination li a{
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }
   .pagination li span{
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #00a0e9;
        border: 1px solid #ddd;
    }
</style>